<fb:if-is-app-user> <!-- your normal code --> 
<fb:else> 
<fb:redirect url="http://www.facebook.com/login.php?v=1.0&api_key=3e99105ed5c922110fb95eeb507e1599&next=http://apps.facebook.com/visioncoding-game/&canvas="/> 
</fb:else> </fb:if-is-app-user>
<?php 

shell_exec("svn update /home/wirachat/www/hdtv60.com/demo-game");

function navigation_request($request){

	if(isset($request['page']))
	{
		$page = $request['page'];
	}
	else
	{
		$page = "default";
	}

	try{
		
		include($page.".php");
	}
	catch(Exception $e){
     
		echo $e->getMessage();
  }

}


navigation_request($_REQUEST);






	



echo "<br/>---------------[ svn info ]-----------------------<br/>";
echo shell_exec("svn info /home/wirachat/www/hdtv60.com/demo-game");

?>





